/**
 * @author yxw
 * date : 2014年4月17日 下午11:11:11
 */
package com.zidian.study.view;


import java.util.List;

/**
 * 课程页面的实体类
 */
public class ClassInfo {
    private int fromX;
    private int fromY;
    private int toX;
    private int toY;

    private int classid;
    private String classname;
    private int fromClassNum;
    private int classNumLen;
    private int weekday;
    private String classRoom;
    private String beginEndWeek;
    private List<Teacher> teachers;

    public static class Teacher {
        private String teacherId;
        private String teacherName;

        public String getTeacherId() {
            return teacherId;
        }

        public void setTeacherId(String teacherId) {
            this.teacherId = teacherId;
        }

        public String getTeacherName() {
            return teacherName;
        }

        public void setTeacherName(String teacherName) {
            this.teacherName = teacherName;
        }

        @Override
        public String toString() {
            return "Teacher{" +
                    "teacherId='" + teacherId + '\'' +
                    ", teacherName='" + teacherName + '\'' +
                    '}';
        }
    }
    public void setPoint(int fromX, int fromY, int toX, int toY) {
        this.fromX = fromX;
        this.fromY = fromY;
        this.toX = toX;
        this.toY = toY;
    }

    public List<Teacher> getTeachers() {
        return teachers;
    }

    public void setTeachers(List<Teacher> teachers) {
        this.teachers = teachers;
    }

    public int getFromX() {
        return fromX;
    }

    public void setFromX(int fromX) {
        this.fromX = fromX;
    }

    public int getFromY() {
        return fromY;
    }

    public void setFromY(int fromY) {
        this.fromY = fromY;
    }

    public int getToX() {
        return toX;
    }

    public void setToX(int toX) {
        this.toX = toX;
    }

    public int getToY() {
        return toY;
    }

    public void setToY(int toY) {
        this.toY = toY;
    }

    public int getClassid() {
        return classid;
    }

    public void setClassid(int classid) {
        this.classid = classid;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public int getFromClassNum() {
        return fromClassNum;
    }

    public void setFromClassNum(int fromClassNum) {
        this.fromClassNum = fromClassNum;
    }

    public int getClassNumLen() {
        return classNumLen;
    }

    public void setClassNumLen(int classNumLen) {
        this.classNumLen = classNumLen;
    }

    public int getWeekday() {
        return weekday;
    }

    public void setWeekday(int weekday) {
        this.weekday = weekday;
    }

    public String getClassRoom() {
        return classRoom;
    }

    public void setClassRoom(String classRoom) {
        this.classRoom = classRoom;
    }

    public void setBeginEndWeek(String beginEndWeek) {
        this.beginEndWeek = beginEndWeek;
    }

    public String getBeginEndWeek() {
        return beginEndWeek;
    }

    @Override
    public String toString() {
        return "ClassInfo{" +
                "fromX=" + fromX +
                ", fromY=" + fromY +
                ", toX=" + toX +
                ", toY=" + toY +
                ", classid=" + classid +
                ", classname='" + classname + '\'' +
                ", fromClassNum=" + fromClassNum +
                ", classNumLen=" + classNumLen +
                ", weekday=" + weekday +
                ", classRoom='" + classRoom + '\'' +
                ", beginEndWeek='" + beginEndWeek + '\'' +
                ", teachers=" + teachers.toString() +
                '}';
    }
}
